package com.liuyang.demo.scanpackage;

import org.springframework.stereotype.Service;

@Service
public class Dog implements IAnimal {
    @Override
    public AnimalEnum getType() {
        return AnimalEnum.DOG;
    }
    @Override
    public void say() {
        System.out.println("汪~");
    }
}
